<?php
class testjquery extends CI_Controller{
	public function __construct()
	{
		parent::__construct();
	}
	public function index(){
		$this->load->library('galleria');
		$this->galleria->addImage(base_url().'assets/uploads/files/gundroid.png');
		$this->galleria->addImage(base_url().'assets/uploads/files/Darthvadroid.png');
		$output = $this->galleria->render();
		//print_r($output);
		$this->load->view('example',$output);
	}
	public function testjquery()
	{		
		$this->load->helper('html');
		//echo "ww";
		$this->load->library('jquery');
		$this->jquery->addWidget('CheckButton','myButton');
		$this->jquery->widgets['myButton']->addButton('labelA');
		$this->jquery->widgets['myButton']->addButton('labelB');
		$data = $this->jquery->renderHead();
		$data['content'] = $this->jquery->widgets['myButton']->renderBody();
		$this->load->view('jqueryView',$data);
		
	}
}
